<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true"
    CodeFile="Default.aspx.cs" Inherits="_Default" Title="Untitled Page" %>

<%@ Register Assembly="Flan.Controls" Namespace="Flan.Controls" TagPrefix="cc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <br />
    UpdatePanelPopupExtender is an ASP.Net AJAX extender that can be attached to any
    UpdatePanel control. This extender allows you to postion the attached UpdatePanel
    beside any control you specify.<br />
    <br />
    <div style="font-family: Courier New; font-size: 0.9em; background-color: whitesmoke;
        padding: 5px;">
        &lt;cc1:UpdatePanelPopupExtender ID="UpdatePanelPopupExtender1" runat="server" TargetControlID="UpdatePanel1"
        OffsetX="0" OffsetY="0" CalloutColor="LightGoldenrodYellow" CalloutType="TransparentGradient"
        CalloutBorderColor="Olive" /&gt;<br />
    </div>
    <br />
    <strong>Properties: </strong>
    <br />
    <ul>
        <li><span style="font-family: Courier New">OffsetX</span></li>
        <li><span style="font-family: Courier New">OffsetY</span></li>
        <li><span style="font-family: Courier New">CalloutColor</span></li>
        <li><span style="font-family: Courier New">CalloutBorderColor</span></li>
        <li><span style="font-family: Courier New">CalloutType</span></li>
        <li><span style="font-family: Courier New">VerticalAlign</span></li>
        <li><span style="font-family: Courier New">HorizontalAlign<br />
        </span></li>
        <li><span style="font-family: Courier New">PositionControlClientID</span><br />
            The ClientID of control where the UpdatePanel should be positioned<br />
        </li>
        <li><span style="font-family: Courier New">UpdatePanelVisible</span><br />
            Sets the client side visibility of the UpdatePanel<br />
        </li>
        <li><span style="font-family: Courier New">AutoPostBack</span><br />
            Raises the Close event when the UpdatePanel is hidden.</li>
    </ul>
    <p>
        <strong>Methods</strong></p>
    <ul>
        <li><span style="font-family: Courier New">Show()</span></li>
        <li><span style="font-family: Courier New">Hide()</span></li>
        <li><span style="font-family: Courier New">ShowAt (Control)</span><br />
            This is the same as setting the PositionControlClientId and calling Show()</li>
        <li><span style="font-family: Courier New">RegisterCloseControl(Control, UpdatePanel)<br />
        </span>Register a control which will hide the UpdatePanel on click.</li>
    </ul>
    <p>
        <strong>Events</strong></p>
    <ul>
        <li><span style="font-family: Courier New">Close()</span><br />
            Raised when the UpdatePanel is hidden on the client (<strong>Autopostback has to be
                true for this event to fire</strong>)</li>
    </ul>
</asp:Content>
